﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="CourseSystem.aspx.cs" Inherits="CourseSystem" Title="课程体系" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="contenter">
        <div class="content sub-m-l">
            <div class="area">
                <div class="c-top">
                </div>
                <div class="sub-nav">
                    <div class="s-t">
                        <h2>
                            课程体系</h2>
                        <h4>
                            TEACHING</h4>
                    </div>
                    <div class="s-p">
                        <dl>
                            <asp:Repeater ID="rptClassMenu" runat="server" OnItemDataBound="rptClassMenu_ItemDataBound">
                                <ItemTemplate>
                                    <dt id="dtClass" runat="server">
                                        <a href="CourseSystem.aspx?ClassId=<%# Eval("Cid") %>"><%# Eval("cName")%></a><i></i></dt>
                                    <dd id="ddClass" runat="server" style="display: none;">
                                        <asp:Repeater ID="rptSubClassMenu" runat="server">
                                            <ItemTemplate>
                                                <a href="CourseSystem.aspx?ClassId=<%# "|"+Eval("cUpId")+"|"+Eval("Cid")+"|" %>">
                                                    <%# Eval("cName") %>
                                                </a>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                    </dd>
                                </ItemTemplate>
                            </asp:Repeater>
                        </dl>
                    </div>

                    <script type="text/javascript">
$(document).ready(function(){
//$(".s-p dl dd").not(":first").hide();
//$(".s-p dl dt").first().addClass("current");
$(".s-p dl dt").click(function(){
$(".s-p dl dd").not($(this).next()).slideUp("fast");
$(".s-p dl dt").not($(this).next()).removeClass("current");
$(this).next().slideDown("fast");
$(this).toggleClass("current");
});
});
                    </script>

                    <div class="s-f">
                    </div>
                </div>
                <div class="main-con">
                    <div class="n-m-t">
                        <div class="n-m-tl">
                        </div>
                    </div>
                    <div class="main-body">
                        <div class="site">
                            <div class="si-ti">
                                <h3>
                                    <asp:Literal ID="ltShowSubject0" runat="server"></asp:Literal></h3>
                            </div>
                            当前位置：> <a href="Default.aspx">网站首页</a> &gt; <a href="#">课程体系</a> &gt;
                            <asp:Literal ID="ltShowSubject1" runat="server"></asp:Literal></div>
                        <div class="m-cont">
                            <div class="m-porduct-list">
                                <ul class="mainul">
                                    <asp:Repeater ID="rptDataList" runat="server">
                                        <ItemTemplate>
                                            <!--product_infor_1-->
                                            <li class="content column-num1">
                                                <div class="pic-module">
                                                    <div class="pic">
                                                        <a href="CourseDetail.aspx?ClassId=<%# Eval("aClassIds") %>&Id=<%# Eval("aId") %>" title="<%# Eval("aTitle") %>" target="_blank">
                                                            <img id="<%# Eval("aId") %>" src="<%# Eval("aPicture") %>" onerror="this.src='images/noimage.jpg'" alt="<%# Eval("aTitle") %>"
                                                                title="<%# Eval("aTitle") %>">
                                                        </a>
                                                    </div>
                                                </div>
                                                <div class="pro-module">
                                                    <ul class="basic">
                                                        <li class="code">
                                                            <h1>
                                                                <span>课程：</span> <strong><a href="CourseDetail.aspx?ClassId=<%# Eval("aClassIds") %>&Id=<%# Eval("aId") %>" title="<%# Eval("aTitle") %>" target="_blank"><%# Eval("aTitle") %></a></strong>
                                                            </h1>
                                                        </li>
                                                    </ul>
                                                    <p class="buttonP">
                                                    </p>
                                                    <div class="describe htmledit">
                                                        <span>课程介绍：</span><%# HttpUtility.HtmlDecode(Convert.ToString(Eval("aShortInstr"))) %>
                                                    </div>
                                                </div>
                                            </li>
                                            <li class="clearBoth"></li>
                                            <!--end-->
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </ul>
                                <webdiyer:AspNetPager ID="anpProduct" CssClass="splitPages" PageSize="15" runat="server"
                                    PrevNextButtonsClass="noPre" AlwaysShowFirstLastPageNumber="true" FirstPageText="|<"
                                    LastPageText=">|" NextPageText=">>" PrevPageText="<<" NumericButtonType="Text"
                                    OnPageChanged="anpProduct_PageChanged" AlwaysShow="true">
                                </webdiyer:AspNetPager>
                            </div>
                        </div>
                    </div>
                    <div class="n-m-f">
                        <div class="n-m-fl">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
